﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = EngineeringEquipment
		Group                          = EnergyInjectors
		Size                           = Small
		Module                         = joffret-refiller small energy injector prototype
		CpuUsage                       = 17.00 TF
		ReactorUsage                   = 52.00 RP
		Type                           = Active
		Slot                           = Legs
		TechnologicalLevel             = T3P
		Mass                           = 75.00 kg
		PackedVolume                   = 0.25 U
		Volume                         = 0.50 U
		CycleTime                      = 18.00 sec
		AmmoChargeType                 = Energy injector charges
		AmmoChargeCapacity             = 15 pcs
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Joffret-Refiller small energy injector prototype module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:55</remarks>
    public sealed class JoffretRefillerSmallEnergyInjectorPrototype : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="JoffretRefillerSmallEnergyInjectorPrototype"/> class.
        /// </summary>
        public JoffretRefillerSmallEnergyInjectorPrototype()
            : base(
            "Joffret-Refiller small energy injector prototype",
            "",
            ModuleMetaGroupsEnum.EngineeringEquipment,
            ModuleGroupsEnum.EnergyInjectors,
            TechnologyLevelsEnum.Level3|TechnologyLevelsEnum.Prototype,
            SizesEnum.Small,
            new LazyFeature[] { 
				new LazyFeature(typeof(EngineeringCpuUsage<double>),17.00),
				new LazyFeature(typeof(ReactorUsage<double>),52.00),
				new LazyFeature(typeof(ModuleMass<double>),75.00),
                new LazyFeature(typeof(InjectedAccumulatorAmount<double>),0),
				new LazyFeature(typeof(EnergyInjectorCycleTime<double>),18.00),
				new LazyFeature(typeof(AmmunitionType<AmmunitionTypesEnum>),AmmunitionTypesEnum.EnergyInjectorCharges),
				new LazyFeature(typeof(AmmoCapacity<double>),15), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 75.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Active; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Legs; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}